package cn.com.homeyoda.aimate.aihealth.utils;


import android.bluetooth.BluetoothDevice;

import com.yasee.yasee.protocols.ble.BleDevice;

import java.util.List;

public class DeviceManager {
    private static DeviceManager instance;
    private BluetoothDevice currentDeviceList;

    public static DeviceManager getInstance() {
        if (instance == null) {
            instance = new DeviceManager();
        }
        return instance;
    }

    public void setCurrentDeviceList(BluetoothDevice devices) {
        this.currentDeviceList = devices;
    }

    public BluetoothDevice getCurrentDeviceList() {
        return currentDeviceList;
    }

    public void clearDeviceList() {
        this.currentDeviceList = null;
    }
}
